package com.linkage.lcims.base.po.cdma;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="BD_FOREIGN_AAA"
 *     
*/
public class BdForeignAaa implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 5174288997799839990L;

	/** identifier field */
    private String aaaip;

    /** persistent field */
    private String zoneid;

    /** persistent field */
    private Integer authport;

    /** nullable persistent field */
    private Integer acctport;

    /** persistent field */
    private String secret;

    /** persistent field */
    private Integer accesstype;

    /** persistent field */
    private String vendor;

    /** nullable persistent field */
    private String description;

    /** full constructor */
    public BdForeignAaa(String aaaip, String zoneid, Integer authport, Integer acctport, String secret, Integer accesstype, String vendor, String description) {
        this.aaaip = aaaip;
        this.zoneid = zoneid;
        this.authport = authport;
        this.acctport = acctport;
        this.secret = secret;
        this.accesstype = accesstype;
        this.vendor = vendor;
        this.description = description;
    }

    /** default constructor */
    public BdForeignAaa() {
    }

    /** minimal constructor */
    public BdForeignAaa(String aaaip, String zoneid, Integer authport, String secret, Integer accesstype, String vendor) {
        this.aaaip = aaaip;
        this.zoneid = zoneid;
        this.authport = authport;
        this.secret = secret;
        this.accesstype = accesstype;
        this.vendor = vendor;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="AAAIP"
     *         
     */
    public String getAaaip() {
        return this.aaaip;
    }

    public void setAaaip(String aaaip) {
        this.aaaip = aaaip;
    }

    /** 
     *            @hibernate.property
     *             column="ZONEID"
     *             length="20"
     *             not-null="true"
     *         
     */
    public String getZoneid() {
        return this.zoneid;
    }

    public void setZoneid(String zoneid) {
        this.zoneid = zoneid;
    }

    /** 
     *            @hibernate.property
     *             column="AUTHPORT"
     *             length="22"
     *             not-null="true"
     *         
     */
    public Integer getAuthport() {
        return this.authport;
    }

    public void setAuthport(Integer authport) {
        this.authport = authport;
    }

    /** 
     *            @hibernate.property
     *             column="ACCTPORT"
     *             length="22"
     *         
     */
    public Integer getAcctport() {
        return this.acctport;
    }

    public void setAcctport(Integer acctport) {
        this.acctport = acctport;
    }

    /** 
     *            @hibernate.property
     *             column="SECRET"
     *             length="15"
     *             not-null="true"
     *         
     */
    public String getSecret() {
        return this.secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    /** 
     *            @hibernate.property
     *             column="ACCESSTYPE"
     *             length="22"
     *             not-null="true"
     *         
     */
    public Integer getAccesstype() {
        return this.accesstype;
    }

    public void setAccesstype(Integer accesstype) {
        this.accesstype = accesstype;
    }

    /** 
     *            @hibernate.property
     *             column="VENDOR"
     *             length="32"
     *             not-null="true"
     *         
     */
    public String getVendor() {
        return this.vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    /** 
     *            @hibernate.property
     *             column="DESCRIPTION"
     *             length="50"
     *         
     */
    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("aaaip", getAaaip())
            .toString();
    }

}
